package com.cn.chaomeng.vo.table;

import com.cn.chaomeng.model.Food;
import com.cn.chaomeng.model.Foodtype;

/**
 * @author LYJ
 *         Created by Administrator on 2018/2/28 0028.
 */
public class FoodsTable {

    private Integer fid;
    private Foodtype type;
    private String foodname;
    private String picurl;
    private Double foodprice;
    private Double foodvip;
    private String feature;
    private Integer state;
    private String createTime;

    public FoodsTable(Food food, Foodtype type){
        this.fid = food.getFid();
        this.type = type;
        this.foodname = food.getFoodname();
        this.picurl = food.getPicurl();
        this.foodprice = food.getFoodprice();
        this.foodvip = food.getFoodvip();
        this.feature = food.getFeature();
        this.state = food.getState();
        this.createTime = food.getCreateTime();
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public Foodtype getType() {
        return type;
    }

    public void setType(Foodtype type) {
        this.type = type;
    }

    public String getFoodname() {
        return foodname;
    }

    public void setFoodname(String foodname) {
        this.foodname = foodname;
    }

    public String getPicurl() {
        return picurl;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl;
    }

    public Double getFoodprice() {
        return foodprice;
    }

    public void setFoodprice(Double foodprice) {
        this.foodprice = foodprice;
    }

    public Double getFoodvip() {
        return foodvip;
    }

    public void setFoodvip(Double foodvip) {
        this.foodvip = foodvip;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
